package com.vegetable.modules.service.outbound;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.modules.entity.outbound.SalesOrderDetail;

import java.util.List;

/**
 * <p>
 * 销售订货商品表 服务类
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-27
 */
public interface ISalesOrderDetailService extends IService<SalesOrderDetail> {

    List<SalesOrderDetail> selectByOrderId(Long orderId);

    List<SalesOrderDetail> selectByOrderIdInCloudStock(Long orderId);

    List<Long> selectDetailIdByOrderId(Long orderId);

    void delDetail(Long detailId);

    List<SalesOrderDetail> allShift(Long orderId);

    SalesOrderDetail selectByOrderIdAndCommodityIdAndSpecsId(Long orderId, Long commodityId, Long specsId);



}
